import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

//导入axios
import axios from 'axios'
//配置基础路径
axios.defaults.baseURL = 'http://localhost:8080'
const app = createApp(App)
//指定全局对象
app.config.globalProperties.$axios = axios
app.use(router).mount('#app')
